Calculate Forecast Process
Use the Calculate Forecast API process to automatically calculate forecasts.
Process Settings
Below are the settings you must define for the Calculate Forecast API process:
Setting | Description | Sample Value |
---|---|---|
ProcessID | This ID informs Cobra to run the Calculate Forecast process. | CalculateForecast |
Project | This setting refers to the project where you want to calculate forecasts.
This setting is required. |
Demo Advanced |
ClassList | This setting contains a comma-separated list of the forecast classes to calculate.
This setting is required. |
Forecast,CAM,EAC |
CalculatePF | If value is set to
1, Cobra recalculates performance factors.
This setting is optional and the default value is 0. |
1 |
CheckForecastDates | This setting informs Cobra to check the forecast dates.
Use one of the following values:
|
S |
AllowNegativeETC | If value is set to
1, Cobra calculates all negative Estimate To Complete (ETC) values. If value is set to
0, Cobra sets all negative ETC values to zero.
This setting is optional and the default value is 0. If this setting is not included in the API script, Cobra uses the value set in the Allow negative ETC option in the Forecast Preferences. If this setting is not included in the API script, Cobra uses the value set in the Allow negative ETC option in the Forecast Preferences tab of the Project Properties dialog box. |
1 |
SpreadETCMethodId | This setting refers to statistical forecast spreading.
|
B |
ScaleRetainEACId | This setting refers to scaling Estimate At Complete (EAC) values.
Use one of the following values:
|
H |
Sample Script
Below is a sample script file for the Calculate Forecast API process:
[Process015]
ProcessID=CalculateForecast
Project=Demo Advanced
ClassList=Forecast,CAM,EAC
CheckForecastDates=S
CalculatePF=1
AllowNegativeETC=0
SpreadETCMethodId=E
ScaleRetainEACId=C